home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Freaks Macintosh Archive
/
Freaks Macintosh Archive.bin
/
Freaks Macintosh Archives
/
Macintosh
/
Development & Resource Tools
/
ROM Sucker.sit
/
ROM Sucker
/
globincs
/
ROM_Sucker_bss.def
next >
Wrap
Text File
|
1998-01-04
|
5KB
|
159 lines
* global definitions for ROM Sucker
* global stuff goes in BSS
qd: rs.b 208 ;208 bytes for QuickDraw globals
WindowPtr: rs.w 1 ;window #1 pointer
GDHandle: rs.w 1 ;handle of main video device
DialogPtr: rs.w 1 ;ptr to dialog window
OldPort: rs.w 1 ;ptr to old port if DA is open
VScrollHandle: rs.w 1 ;handle to vertical scroll bar
MBARHandle: rs.w 1 ;handle to the menu bar
AppleMenuHandle: rs.w 1 ;handle to Apple menu
EditMenuHandle: rs.w 1 ;handle to Edit menu
OptionMenuHandle: rs.w 1 ;handle to Options menu
TEHandle: rs.w 1 ;handle to TextEdit record
RsrcHandle: rs.w 1 ;handle to ROM resource
NewRsrcHandle: rs.w 1 ;handle to ROM resource we’re copying into rsrc file
whichWindow: rs.w 1 ;used to find mouse position after a mousedown
CtrlHandle: rs.w 1 ;VAR for FindControl
acurHandle: rs.w 1 ;I-8-21: handle to acur record
CursorHandles: rs.w 10 ;handles for a bunch of cursors
FontInfo: rs.h 4 ;T-3-66: FontInfo data record
theEvent: rs.b 16 ;I-249: event record
MousePt: rs.w 1 ;local mouse position
MenuResult: rs.w 1 ;menusID:ItemID from MenuSelect
boundsRect: rs.h 4 ;bounds rectangle for DragWindow
sizeRect: rs.h 4 ;size rectangle for GrowWindow
textRect: rs.h 4 ;rectangle to display text in for TETextBox
RsrcName: rs.b 256 ;str255: for resource name string
String: rs.b 20 ;will become one line displayed in the window
theString: rs.b 12 ;VAR for NumToString (10 digits + sign + length)
itemString: rs.b 16 ;length of DA name + 1
HParamBlkPtr: rs.b 124 ;parameter block record for File Manager calls
finalTicks: rs.w 1 ;VAR for Delay (much much better than $0E80)
theType: rs.w 1
* non-aligned:
itemType: rs.h 1 ;item type for dialogs
theID: rs.h 1
partCode: rs.h 1 ;from FindWindow -- used for zooming
NormalScroll: rs.h 1 ;used to flag normal vs. smooth scrolling
DARefNum: rs.h 1 ;DA refNum: use as a flag that a DA is open
MyCaretTime: rs.h 1 ;caret blinking interval in ticks
ResFileNumber: rs.h 1 ;rsrc file refNum
IMPORT AddResource ;MT-1-90
IMPORT AppendResMenu ;TE-3-128
IMPORT BeginUpdate ;TE-4-106
IMPORT Button ;TE-2-108
IMPORT CheckItem ;TE-3-136
IMPORT CloseResFile ;MT-1-110
IMPORT CountResources
IMPORT Delay ;II-284 (doesn’t seem to be in new Inside Macintosh)
IMPORT DetachResource ;MT-1-108
IMPORT DisableItem ;TE-3-131
IMPORT DisposeDialog ;TE-6-120
IMPORT DragWindow ;TE-4-94
IMPORT Draw1Control ;TE-5-88
IMPORT DrawControls
IMPORT DrawGrowIcon ;TE-4-86
IMPORT DrawMenuBar ;TE-3-113
IMPORT EnableItem ;TE-3-131
IMPORT EndUpdate ;TE-4-107
IMPORT EraseRect ;I-3-61
IMPORT ExitToShell
IMPORT FindControl ;TE-5-89
IMPORT FindWindow ;TE-4-91
IMPORT FlushEvents ;TE-2-93
IMPORT GetCaretTime ;TE-2-113
IMPORT GetControlMaximum ;TE-5-104
IMPORT GetControlValue ;TE-5-103
IMPORT GetCursor ;I-8-24
IMPORT GetDialogItem ;TE-6-121
IMPORT GetFontInfo ;T-3-75
IMPORT GetGrayRgn ;TE-4-113
IMPORT GetIndResource
IMPORT GetMainDevice ;I-5-27
IMPORT GetMenuItemText ;TE-3-132
IMPORT GetMenuHandle ;TE-3-122
IMPORT GetMouse ;TE-2-108
IMPORT GetNewControl ;TE-5-81
IMPORT GetNewCWindow ;TE-4-76
IMPORT GetNewDialog ;TE-6-113
IMPORT GetNewMBar ;TE-3-111
IMPORT GetPort ;I-2-41
IMPORT GetResInfo
IMPORT GetResource ;MT-1-73
IMPORT GrowWindow ;TE-4-100
IMPORT HandToHand ;M-2-62
IMPORT HCreateResFile ;MT-1-56
IMPORT HDelete
IMPORT HiliteControl ;TE-5-98
IMPORT HiliteMenu ;TE-3-119
IMPORT HLock ;M-2-45
IMPORT HOpenResFile ;MT-1-62
IMPORT HPurge ;M-2-47
IMPORT HUnlock ;M-2-46
IMPORT InitCursor ;I-8-22
IMPORT InitDialogs ;TE-6-103
IMPORT InitFonts ;T-4-51
IMPORT InitGraf ;I-2-36
IMPORT InitMenus ;TE-3-103
IMPORT InitWindows ;TE-4-75
IMPORT InvalRect ;TE-4-107
IMPORT HomeResFile
IMPORT LoadResource
IMPORT MenuKey ;TE-3-117
IMPORT MenuSelect ;TE-3-115
IMPORT MoveControl ;TE-5-97
IMPORT MoveWindow ;TE-4-95
IMPORT OpenDeskAcc ;D-1-65
IMPORT PBHDeleteSync ;F-2-174
IMPORT PBHGetFInfoSync ;F-2-194
IMPORT PBHSetFInfoSync ;F-2-195
IMPORT ReleaseResource ;MT-1-107
IMPORT RotateCursor ;I-8-32
IMPORT SetControlMaximum ;TE-5-95
IMPORT SetControlMinimum ;TE-5-95
IMPORT SetControlValue ;TE-5-94
IMPORT SetCursor ;I-8-25
IMPORT SetDialogFont ;TE-6-105
IMPORT SetMenuBar ;TE-3-112
IMPORT SetPort ;I-2-42
IMPORT SetResLoad ;MT-1-79
IMPORT ShowControl ;TE-5-86
IMPORT ShowWindow ;TE-4-88
IMPORT SizeControl ;TE-5-98
IMPORT SizeWindow ;TE-4-101
IMPORT SpinCursor ;I-8-32
IMPORT SystemClick ;TE-2-94
IMPORT SystemEdit ;TE-3-122
IMPORT TEActivate
IMPORT TECalText ;T-2-89
IMPORT TEClick
IMPORT TECopy ;T-2-95
IMPORT TECut ;T-2-94
IMPORT TEDeactivate
IMPORT TEDelete ;T-2-93
IMPORT TEIdle
IMPORT TEInit ;T-2-77
IMPORT TEInsert ;T-2-94
IMPORT TENew ;T-2-78
IMPORT TEPaste ;T-2-95
IMPORT TEScroll ;T-2-91
IMPORT TestControl ;TE-5-93
IMPORT TETextBox ;T-2-88
IMPORT TEUpdate ;T-2-88
IMPORT TextFace ;T-3-69
IMPORT TextFont ;T-3-69
IMPORT TextMode ;T-3-70
IMPORT TextSize ;T-3-73
IMPORT TrackBox ;TE-4-101
IMPORT TrackControl ;TE-5-90
IMPORT TrackGoAway ;TE-4-103
IMPORT UpdateResFile ;MT-1-92
IMPORT UseResFile ;MT-1-69
IMPORT WaitNextEvent ;TE-2-85
IMPORT ZoomWindow ;TE-4-102